package cn.byapps.sell.service.impl;

import cn.byapps.sell.dao.SellerInfoRepository;
import cn.byapps.sell.entity.SellerInfo;
import cn.byapps.sell.service.SellerService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SellerServiceImpl implements SellerService {

	@Autowired
	private SellerInfoRepository repository;

	@Override
	public SellerInfo findSellerInfoByOpenid(String openid) {
		return repository.findByOpenid(openid);
	}
}
